package com.lantosec.hmrp.modules.monitor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lantosec.hmrp.modules.monitor.entity.PatrolDetailsEntity;
import com.lantosec.hmrp.modules.monitor.entity.PatrolEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MonitorPatrolMapper extends BaseMapper<PatrolEntity> {

    List<PatrolEntity> getPatrolList(@Param("month") String month, @Param("year")String year,
                                     @Param("startTime")String startTime, @Param("endTime")String endTime);

    List<PatrolDetailsEntity> getPatrolListDetail(@Param("month") String month, @Param("year")String year,
                  @Param("startTime")String startTime, @Param("endTime")String endTime, @Param("deptId") String deptId);
}
